package com.wm.homework03;

public class Test {
    public void makeFly(CanFly canFly){
        canFly.fly();
    }

    public static void main(String[] args) {
        Test test = new Test();
        test.makeFly(new AirPlane());
        test.makeFly(new Bird());
    }
}
